module.exports = {
  pluginOptions: {
    electronBuilder: {
      nodeIntegration: true,
      builderOptions: {
        appId: 'com.ngblog.app',
        productName: 'DesktopBlog',
        copyright: 'Copyright © 内阁首辅 2020',
        win: {
          icon: './public/favicon.ico'
        }
      }
    }
  },
  devServer: {
    proxy: {
      "/api": {
        target: "http://127.0.0.1:8089",
        ws: true,
        changeOrigin: true,
        pathRewrite: {
          "^/api": ""
        }

      }
    }
  }
}
